﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<NETMovie.UI.WebMVC.Models.WatchMovieModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Watch Movie!
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Watch: <% if (Model == null)
                  { %> "Not Authorized" <% }
                  else
                  { %><%: Html.DisplayFor(m => m.Title) %> <% } %></h2>

    <% using (Html.BeginForm())
       {%>
        <%: Html.ValidationSummary(false, "The operation is unsuccessful. Please see the errors listed.")%>
        <% if (Model != null)
           { %>
            <%: Html.DisplayFor(m => m, "Movie")%>
        <% } %>
    <% } %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptsContent" runat="server">
</asp:Content>
